<template>
  <div>
    <Return txt="聊天信息(2)"></Return>
    <div class="list">
      <div class="listOne" v-for="item of list">
        <img class="list_img" src="../../assets/images/logo.png" alt="" />
        <span>测试人员</span>
      </div>
      <div class="listOne" @click="addTap">
        <div class="add">+</div>
      </div>
    </div>
    <div class="more" @click="moreTap">
      <span>查看更多成员</span>
      <van-icon style="margin-left: 10px" name="arrow" />
    </div>
    <div class="row" @click="qunnameTap">
      <div class="rowOne">群聊名称</div>
      <div class="rowtwo">
        <span>测试群聊</span>
        <van-icon style="margin-left: 10px" name="arrow" />
      </div>
    </div>
    <div class="row" @click="cardTap">
      <div class="rowOne">群二维码</div>
      <div class="rowtwo">
        <img src="../../assets/images/card.png" alt="" />
        <van-icon style="margin-left: 10px" name="arrow" />
      </div>
    </div>
    <div class="row1" @click="gonggaoTap">
      <div class="rowOne">
        <div>群公告</div>
        <div style="color: #b4b3b3; font-size: 16px">啊哈哈哈哈哈哈</div>
      </div>
      <div class="rowtwo">
        <van-icon style="margin-left: 10px" name="arrow" />
      </div>
    </div>
    <div class="row" @click="beizhuTap">
      <div class="rowOne">备注</div>
      <div class="rowtwo">
        <van-icon style="margin-left: 10px" name="arrow" />
      </div>
    </div>
    <div class="row" @click="guanliTap">
      <div class="rowOne">群管理</div>
      <div class="rowtwo">
        <van-icon style="margin-left: 10px" name="arrow" />
      </div>
    </div>
    <div class="row" @click="qunNameTap">
      <div class="rowOne">我在本群的名称</div>
      <div class="rowtwo">
        <span>测试名称</span>
        <van-icon style="margin-left: 10px" name="arrow" />
      </div>
    </div>
    <div class="row" @click="bgTap">
      <div class="rowOne">设置当前聊天背景</div>
      <div class="rowtwo">
        <van-icon style="margin-left: 10px" name="arrow" />
      </div>
    </div>
    <div class="row" @click="tousuTap">
      <div class="rowOne">投诉</div>
      <div class="rowtwo">
        <van-icon style="margin-left: 10px" name="arrow" />
      </div>
    </div>
  </div>
</template>
<script>
import Return from "../../components/return";
export default {
  components: {
    Return,
  },
  data() {
    return {
      list: [1, 2, 3],
    };
  },
  methods: {
    //更多成员
    moreTap() {
      this.$router.push("/people");
    },
    addTap() {
      this.$router.push("/qunliao");
    },
    qunnameTap() {
      this.$router.push("/qunname");
    },
    cardTap() {
      this.$router.push("/card");
    },
    gonggaoTap() {
      this.$router.push("/gongao");
    },
    beizhuTap() {
      this.$router.push("/beizhu");
    },
    guanliTap() {
      this.$router.push("/guanli");
    },
    qunNameTap() {
      this.$router.push("/minename");
    },
    bgTap() {
      this.$router.push("/bg");
    },
    tousuTap() {
      this.$router.push("/tousu");
    },
  },
};
</script>
<style scoped>
.list {
  width: 90%;
  margin-left: 5%;
  display: flex;
  flex-wrap: wrap;
}
.listOne {
  width: 20%;
  display: flex;
  align-items: center;
  flex-direction: column;
  font-size: 12px;
  color: #989898;
  margin-top: 10px;
}
.list_img {
  width: 50px;
  height: 50px;
  border-radius: 5px;
}
.add {
  width: 50px;
  height: 50px;
  border-radius: 5px;
  border: 1.5px dashed #ccc;
  font-size: 30px;
  text-align: center;
  line-height: 50px;
}
.more {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  color: #959494;
  font-size: 16px;
  width: 100%;
  border-bottom: 5px solid #f1f1f1;
}
.row {
  height: 50px;
  width: 90%;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  border-bottom: 1px solid #f0f0f0;
}
.row1 {
  height: 70px;
  width: 90%;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  border-bottom: 1px solid #f0f0f0;
}
.rowtwo {
  display: flex;
  align-items: center;
}
.rowtwo {
  color: #9d9d9d;
}
.rowtwo img {
  width: 30px;
  height: 30px;
}
</style>